.main_chat {
  width: 800px;
  margin: 10px auto;
  height: 600px;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  background-color: white;
}
.main_chat .main_left {
  flex: 2;
}
.main_chat .main_right {
  flex: 6;
}
.main_chat header {
  display: flex;
  width: 100%;
  height: 60px;
  line-height: 60px;
  background-color: rgba(240, 240, 240, 0.5);
  position: relative;
}
.main_chat header .head_img {
  flex: 1;
  height: 100%;
}
.main_chat header .head_img img {
  height: 50px;
  width: 50px;
  display: block;
  margin: auto;
  margin-top: 5px;
  border-radius: 50%;
}
.main_chat header .name {
  flex: 8;
  height: 100%;
}
.chat_content{
  line-height: 24px;
}

.main_chat .chat_log_list li {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}
.main_chat .chat_log_list li .chat_content {
  flex: 10;
}
.main_chat .chat_log_list li .chat_content > p {
  color: #999999;
  font-size: 14px;
  line-height: 24px;
  margin-right: 10px;
}
.main_chat .chat_log_list li .chat_content .content_text_box {
  width: calc(100% - 20px);
}
.main_chat .chat_log_list li .chat_content .content_text {
  width: auto;
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
  position: relative;
  text-align: left;
}
.main_chat .chat_log_list li .chat_content .content_text::after {
  position: absolute;
  left: -10px;
  top: 13px;
  width: 0;
  height: 0;
  border-style: solid dashed dashed;
  border-color: #e2e2e2 transparent transparent;
  overflow: hidden;
  border-width: 10px;
  content: '';
}
.content_text_box img{
  max-width: 100%;

}
.main_chat .chat_log_list li .chat_head {
  flex: 1;
}
.main_chat .chat_log_list li .chat_head img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  margin: 10px auto;
}
.main_chat .chat_log_list .my_chat .chat_content {
  text-align: right;
}
.main_chat .chat_log_list .my_chat .chat_content .content_text {
  background-color: #5fb878;
  color: white;
  float: right;
}
.main_chat .chat_log_list .my_chat .chat_content .content_text::after {
  left: auto;
  right: -10px;
  border-top-color: #5FB878;
}
.main_chat .chat_log_list .else_log .chat_content {
  text-align: left;
}
.main_chat .chat_log_list .else_log .chat_content p {
  margin-left: 10px;
}
.main_chat .chat_log_list .else_log .chat_content .content_text {
  background-color: #e2e2e2;
  color: black;
  font-size: 16px;
  float: left;
}
.main_chat .chat_log {
  height: 330px;
  overflow-y: scroll;
}
.main_chat .chat_inp {
  border-top: 1px solid #ccc;

  height: 200px;
}

.main_chat .sendBtn .layui-btn {
  width: 80px;
  margin-left: calc(100% - 110px);
  background-color: #5fb878;
  color: white;
}
.main_chat .nomen img {
  width: 100px;
  height: 100px;
  margin: 30px auto;
  margin-top: 25%;
  display: block;
}
.main_chat .nomen p {
  text-align: center;
  font-size: 20px;
  color: #ccc;
}
.main_left {
  background-color: #d9d9d9;
  width: 196px;
  padding: 2px;
}
.main_left .chat_men_list li {
  display: flex;
  height: 60px;
  line-height: 60px;
  border-radius: 3px;
  margin-bottom: 2px;
  cursor: pointer;
}
.main_left .chat_men_list li .men_head {
  flex: 2;
}
.main_left .chat_men_list li .men_head img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin: 10px auto;
  display: block;
}
.main_left .chat_men_list li p {
  flex: 3;
}
.main_left .chat_men_list li:hover {
  background-color: #f3f3f3;
}
.main_left .chat_men_list .now_men {
  background-color: #f3f3f3;
}
.chat_inp_box{
  padding:  10px 5px;
  height: 130px;
  border-color: transparent;
	outline: none;
  overflow-y: auto;
  /* border-top: 1px solid #ccc; */
}